package com.zhu.DAO;

import com.zhu.bean.Rent;

import java.util.List;
import java.util.Map;

public interface RentDao {
    int insertRent(Rent rent);
    List<Rent> getAll();
    Rent getByIdRent(int id);
    List<Rent> getByNickName(String nickName);
    int delById(int id);
    List<Rent> getByChoose(Rent rent);
}
